3 subject="""comment 1"""
4 date="2022-11-28T17:57:19Z"
6 You can edit the hooks that git-annex installs however you need to. It will
7 not overwrite modified hook files. If you edit this hook to have unix line
8 endings, does the hook still work when using this repository on windows?
10 Actually, I'm having difficulty seeing how the CR could have gotten into
11 that hook. `mkHookScript` uses `unlines` which behaves the same on Windows
12 as on Linux, so in either case lines should be separated only by `\n`.
14 This makes me wonder if something else modified the hook after git-annex
15 wrote it. If so, `git-annex init` should complain that the hook is